# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=gtk-layer-shell
pkgver=0.1.0
pkgrel=2
pkgdesc="Create panels and other desktop components in Wayland using the Layer Shell protocol"
options="!check" # No testsuite
url="https://github.com/wmww/gtk-layer-shell"
arch="all"
license="MIT"
makedepends="meson wayland-dev gtk+3.0-dev gobject-introspection-dev"
subpackages="$pkgname-dev"
source="https://github.com/wmww/gtk-layer-shell/releases/download/v$pkgver/gtk-layer-shell-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Dexamples=false \
		-Ddocs=false \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="3788559405a495d43279b20b9d64e1fb0fb9be4125eb3011a623565938246310c2e81cb6d52db111e42a9cd0739bb273ccf7fcb7c52db8b74a1e44108e061c6d  gtk-layer-shell-0.1.0.tar.xz"
